
import request from "../request";

/**
 * 系统配置 api接口集合
 */
export function musicApi() {

	return {
		// 搜索音乐
		searchMp3: (params: object) => {
			return request({
				url: '/music/searchMp3',
				method: 'get',
				params
			});
		},
		// 获取音乐
		getMp3:(params: object) => {
			return request({
				url: '/music/getMp3',
				method: 'get',
				params
			});
		},
	};
}
